import api from "./request";


export const getHotSearchKey = () =>
    api.get("/search/hot");

export const getSearchMessge = (keywords, type = "mobile") =>
    api.get("/search/suggest", {
        keywords,
        type
    });



export const getSearch = (keywords) =>
    api.get("/search/cloudsearch", {
        keywords,
    });



